browserLoadFailed
Type
message
Summary
Sent when the given URL fails to load.
Syntax
browserLoadFailed <pUrl>, <pError>
Description
Handle the browserLoadFailed message to perform an action when a URL fails to load in a native mobile browser created using mobileControlCreate.
The browserLoadFailed message is sent to the object containing the script that created the mobile browser control when a URL fails to load.
Parameters
Name | Type | Description |
---|---|---|
pUrl | The URL that failed to load. | |
pError | The error message. |
Examples
on browserLoadFailed pURL, pError
put "Failed to load" && pURL && "Error:" && pError into field "status"
end browserLoadFailed
Related
function: mobileControlGet, mobileControlTarget, mobileControls
message: browserStartedLoading, browserLoadRequest, browserFinishedLoading
command: mobileControlCreate, mobileControlDelete, mobileControlSet
Compatibility and Support
Introduced
LiveCode 4.5.3
OS
ios
android
Platforms
mobile